<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Element</title>
	<script type="text/javascript" src='../../src/core/Cube.js'></script>
	<script type="text/javascript" src="../../src/core/lang/Array.js"></script>
	<script type="text/javascript" src="../../src/core/lang/Function.js"></script>
	<script type="text/javascript" src="../../src/core/lang/Object.js"></script>
	<script type="text/javascript" src="../../src/core/lang/String.js"></script>
	<script type="text/javascript" src="../../src/core/class/Base.js"></script>
	<script type="text/javascript" src="../../src/core/class/ClassFactory.js"></script>
	<script type="text/javascript" src="../../src/core/dom/Element.js"></script>

	<script type="text/javascript" src="../js/doc-tool.js"></script>
	<link type="text/css" rel="stylesheet" href="../google-code-prettify/cube-style.css" media="all">
	<script type="text/javascript" src="../google-code-prettify/prettify.js"></script>
</head>
<body>
<pre id='code-1' class="prettyprint language-javascript linenums">
	div = Cube('&lt;div&gt;')
		.html('Hello eddy')
		.appendTo(document.body)
		.addClass('classA classB classC')
		.removeClass('classA    ');
</pre>
<button class='btn-run-code' data-code='code-1'>运行代码</button>
<span class="class-1 class-2">1</span>
<span class="span">2</span>
<span>3</span>
<span class="span">4</span>
<span>5</span>
</body>
</html>